package com.dongdongshop.service;

import com.dongdongshop.pojo.specification.TbSpecification;
import com.dongdongshop.pojo.specification.TbSpecificationOption;

import java.util.List;

public interface SpecificationServiceI {
    List<TbSpecification> getSpecName(String specName);

    int deleteSpec(Integer[] ids);

    int insertSpecs(TbSpecification specification, List<TbSpecificationOption> specificationOptions);

    TbSpecification getSpecById(Long id);

    int updateSpec(TbSpecification specification, List<TbSpecificationOption> specificationOptions);

    List<TbSpecification> getSpecs();

}
